{$formStart}
<input type="hidden" name="file" value="{$file}" />
<table>
    <tr>
        <th colspan="2">{$editTemplateForm}</th>
    </tr>
    <tr>
        <td>{$templateName}</td>
        <td>{$name}</td>
    </tr>
    <tr>
        <td>{$templateType}</td>
        <td>{$type}</td>
    </tr>
    <tr>
        <td colspan="2">
            <textarea id="code" name="template" cols="80" rows="20">{$template}</textarea>
        </td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="{$save}" /></td>
    </tr>
</table>
</form>
<span style="display: none" id="fileCategoryId">{$fileCategoryId}</span>